package bavaria.hightech.testit.factorypattern.abstractfactory;

public abstract class Pizzaria {
	
	
	
	Pizza bestellePizza(String typ){
		Pizza pizza;
		
		pizza = erstellePizza(typ);

		
		pizza.vorbereiten();
		pizza.backen();
		pizza.schneiden();
		pizza.verpacken();
		return pizza;
	}
	
	abstract  Pizza erstellePizza(String element);

}
